package com.zzyl.service;


import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.vo.ContractVo;
import com.zzyl.vo.NursingProjectVo;

import java.util.List;

/**
 * 护理接口：NursingService
 */
public interface NursingProjectService {
    /**
     * 分页
     * @param pageNum
     * @param pageSize
     * @param name
     * @param status
     * @return
     */
    PageResponse<NursingProjectVo> selectByPage(Integer pageNum, Integer pageSize, String name, Integer status);


    /**
     * 根据id查询
     * @param id
     * @return
     */
    NursingProjectVo selectById(Long id);


    /**
     * 查询所有护理项目
     * @return
     */
    List<NursingProjectVo> getAllProject();


    /**
     * 新增
     * @param nursingProjectDto
     */
    void addNursingProject(NursingProjectDto nursingProjectDto);


    /**
     * 编辑
     * @param nursingProjectDto
     */
    void edit(NursingProjectDto nursingProjectDto);


    /**
     * 启用禁用
     * @param id
     * @param status
     */
    void enableOrDisable(Long id, Integer status);


    /**
     * 删除
     * @param id
     */
    void deleteProject(Long id);
}
